<template>
  <!-- <mt-cell class="student" :title="item.name" is-link :value="studentStatus[item.studentStatus]"
  :to='"/sale/detail/"+ item.studentId + "/follow"' > -->
  <mt-cell class="student" :title="item.name" is-link :value="studentStatus[item.studentStatus]"
  :to='{path: "/sale/detail/follow", query:{student_id: item.studentId} }' >
    <e-avatar slot="icon" style="width: 0.8rem;height: 0.8rem"/>
  </mt-cell>
</template>

<script>
export default {
  props: {
    item: {
      type: Object
    }
  },
  data () {
    return {
      studentStatus: {
        0: '初始状态',
        1: '试课阶段',
        2: '试课结束',
        3: '跟进中',
        4: '流失学员',
        5: '正式学员'
      }
    }
  }
}
</script>

<style lang="scss" scoped>
img{
  border-radius: 100%;
  height: 0.8rem;
  width: 0.8rem;
  overflow: hidden;
  margin-right: 0.2rem;
}
</style>

<style lang="scss">
.student{
  .mint-cell-wrapper{
    height: 1.3rem;
  }
}
</style>
